package project1;

import java.awt.Graphics;

public class Ball {
	private static final int BALL_SIZE = 20;
	private int ballPositionX;
	private int ballPositionY;
	private boolean ballDirectionUp;
	private boolean ballDirectionRight;
	
	
	public Ball(){
		this.ballPositionX = 200;
		this.ballPositionY = 300;
		this.ballDirectionUp = false;
		this.ballDirectionRight = false;
	}
	
	public int getBallPositionX(){
		return ballPositionX;
	}
	
	public int getBallPositionY(){
		return ballPositionY;
	}
	
	public boolean getBallDirectionUp(){
		return ballDirectionUp;
	}
	
	public boolean getBallDirectionRight(){
		return ballDirectionRight;
	}
	
	
	public void setBallPositionX(int x){
		this.ballPositionX = x;
	}
	
	public void setBallPositionY(int y){
		this.ballPositionY = y;
	}
	
	public void setBallDirectionUp(boolean isUp){
		this.ballDirectionUp = isUp;
	}
	
	public void setBallDirectionRight(boolean isRight){
		this.ballDirectionRight = isRight;
	}

	
	
	

}
